﻿
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />

    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script src="../../../Scripts/vue.js" type="text/javascript"></script>
    <!-- 自己的系统风格统一. -->
    <link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
    <link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
 
</head>
<body>
    <div id="App">
        <div id="bar"> </div>
        <form>
            
            <fieldset>
                <legend id="help"></legend>
                <ul>
                    <li>任何人都可以发起该流程，默认任何人都可以发起。</li>
                    <li>一个流程能够被那些人发起，是在这里设定的。</li>
                    <li>集团版：每个组织设计的流程默认本组织的成员可以发起。</li>
                </ul>
 
            </fieldset>
        </form>
    </div>
    <script type="text/javascript">
        var Baseinfo = new Vue({
            el: '#App',
            data: {
                deliverWay: DeliveryWay.BySelected_1,
                nodeId: GetQueryString("FK_Node"),
            },
            methods: {
                
            },
            created() {
                InitBar(this.deliverWay);
            }
                
        });
        function Save() {
            var node = new Entity("BP.WF.Node", Baseinfo.nodeId);
            node.DeliveryWay =DeliveryWay.BySelected;
           
            node.Update();
             var node = new Entity("BP.WF.Template.Selector", Baseinfo.nodeId);
            node.CopyForm();  //按照规则把数据放入到entity.
            node.Update();
        }
    </script>
</body>
</html>
